package com.hs.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName ClassQuestion
 * @Description TODO
 * @Author Chen
 * @Date 2025年08月13日 10:59
 * @Version 1.0
 */
@Data
public class ClassQuestion {
//    课堂交流问题
    private Integer id;
    private String  question;
    private Integer userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date time;
    private Integer count;

    private User user;
}
